package com.example.musicgui.tools;

import javafx.scene.control.Button;
import javafx.scene.control.Label;
import javafx.scene.control.TextField;
import javafx.scene.layout.GridPane;
import javafx.scene.layout.HBox;
import javafx.scene.layout.VBox;
import javafx.scene.text.Text;

public class LoginOrSign {
    private Button signButton;//注册按钮
    private Button loginButton;//登录按钮
    private TextField[] input;//输入框
    private Label[] label;
    private Text welcome;//欢迎标签
    private VBox box;//登录框
    public LoginOrSign() {
        this.signButton = new Button("注册");
        this.loginButton = new Button("登录");
        this.welcome = new Text("欢迎来到声匠");
        this.box = new VBox();
        this.input = new TextField[2];
        this.label = new Label[2];
        for (int i = 0; i < 2; i++) {
            input[i] = new TextField();
            label[i] = new Label();
        }
    }

    public Button getSignButton() {
        return signButton;
    }
    public Button getLoginButton() {
        return loginButton;
    }
    public TextField[] getInput() {
        return input;
    }
    public Text getWelcome() {
        return welcome;
    }
    public VBox getBox(){
        return box;
    }
    public Label[] getLabel() {
        return label;
    }
}
